package com.pactera.demo.base.mapper;

import com.pactera.demo.base.entity.LoginUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Set;

/**
 * <p>
 * 登录信息表 Mapper 接口
 * </p>
 *
 * @author mybatis.plus
 * @since 2020-02-27
 */
public interface LoginUserMapper extends BaseMapper<LoginUser> {

    LoginUser selectByLoginName(String loginName);

    Set<String> selectRolesByUserId(String userId);
}
